package com.qf.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf.entity.TlCity;
import com.qf.mapper.CityMapper;
import com.qf.service.CityService;
import com.qf.utils.ResultMsg;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityServiceImpl extends ServiceImpl<CityMapper, TlCity> implements CityService {

    @Override
    public ResultMsg findAllCitys() {//查询所有的城市
        List<TlCity> list = super.list();
        return ResultMsg.SUCCESS(list);
    }
}
